﻿
<%@ Page language="vb" Inherits="CRM.grid_data_reports" CodeBehind="grid_data_reports.aspx.vb" AutoEventWireup="false" %>
<html>
<head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312"/>

<link rel="stylesheet" type="text/css" href="/_common/styles/global.css">
<link rel="stylesheet" type="text/css" href="/_grid/grid.css">

<script language="JavaScript" src="/_controls/settings.aspx"></script>
<script language="JavaScript" src="/_common/scripts/global.js"></script>
<script language="JavaScript" src="grid.js"></script>

<script language="JavaScript">

	// Turn off unsupported features
	GRID_SUPPORT_PREVIEW = false;
	GRID_SUPPORT_MULTISELECT = false;

	function handleDblClick()
	{
		var oTR = event.srcElement;

		// Find the TR that contains the cell that was clicked on
		while (oTR.tagName != "TR")
		{
			oTR = oTR.parentElement;
			if (oTR == null) return; 	// ignore the dragged cursor command
		}

		window.open("/reports/viewer/html/viewer.aspx?id=" + oTR.reportid, null, "resizable=yes,status=no,toolbar=no,menubar=no,location=no");
	}

</script>
<style>

	col
	{
		padding-left: 8px;
	}

	tr
	{
		padding-top: 1px;
		margin-bottom: 1px;
		height: 24px;
	}

	td
	{
		border-bottom: 1px solid #dddddd;
	}

</style>
</head>
<body>
<% 
	crmGrid.RenderData(Response.Output);
	RenderContextMenu();
%>
</body>
</html>